package com.ding.easycontroller.pojo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class ServiceUpdateOrAddVO {
    private String id;
    @Pattern(regexp = "[a-zA-Z_][a-zA-Z0-9_]*")
    private String name;
    @NotNull
    private String js;
    private String description;
}
